<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:pretty="http://ocpsoft.com/prettyfaces"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:t="http://myfaces.apache.org/tomahawk">

    <h:head>
        <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" />
        <title>New CMS</title>      
    </h:head>
    <h:body>
        <ui:composition template="/template/template.xhtml">
            <ui:define name="content">
                <h:form>
                    <h:outputText value="#{TestBean.category}"/>
                    <br/>
                    NEXT PAGE
                    <br/>
                    <br/>
                    <h:outputLink value="#{facesContext.externalContext.request.contextPath}/index.jsf">
                        Back To home
                    </h:outputLink>
                    <br/>
                    <h:outputLink value="#{facesContext.externalContext.request.contextPath}/userlist.jsf">
                        Go to user list page
                    </h:outputLink>

                    <br/>
                    <p:imageSwitch effect="FadeIn" speed="500" slideshowAuto="true" widgetVar="imageswitch1">
                        <p:graphicImage  value="/show/IMG_4445.jpg"/>
                        <p:graphicImage  value="/show/IMG_4454.jpg"/>
                        <p:graphicImage  value="/show/IMG_4476.jpg"/>
                        <p:graphicImage  value="/show/IMG_4477.jpg"/>
                        <p:graphicImage  value="/show/IMG_4527.jpg"/>
                        <p:graphicImage  value="/show/IMG_4528.jpg"/>
                        <p:graphicImage  value="/show/IMG_4529.jpg"/>
                        <p:graphicImage  value="/show/IMG_4530.jpg"/>
                        <p:graphicImage  value="/show/IMG_4531.jpg"/>
                        <p:graphicImage  value="/show/IMG_4547.jpg"/>
                    </p:imageSwitch>
                </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>
